<section class="panel">
    <div class="panel-body">
        <ul class="row out-list" style="list-style: none;padding: 0;">
            <li class="col-lg-3">缺断货率：<span class="Out-stock"><?php echo "{$goods_count} / {$pg_count} = " . (($goods_count && $pg_count) ? sprintf('%.2f', $goods_count / $pg_count * 100) : '0.00' ); ?>%</span></li>
        </ul>
        <!--<div class="row zu-out">
            <p class="col-lg-3">*注：缺断货率 = 下架个数 / 采购个数</p>
            <p class="col-lg-3">新品缺断货率 = 新品下架个数 / 新品采购个数</p>
            <p class="col-lg-3">老品缺断货率 = 老品下架个数 / 老品采购个数</p>
        </div>-->
        <?php if ($supp_count) :?>
        <ul class="row out-supp-list" style="list-style: none;padding: 0; margin-top:20px;">
            <?php foreach ($supp_count as $supp) :?>
                <li class="col-lg-3"><?php echo $supp['supp_name'];?>：<span class="Out-stock"><?php echo $supp['count'];?></span></li>
            <?php endforeach;?>
        </ul>
        <?php endif;?>
        <div class="zu-out">
            <p >*注：缺断货率 = 下架个数 / 采购个数</p>
        </div>
    </div>
</section>
